package com.yzd.learnjava.annotaions.database;

import com.sun.mirror.apt.AnnotationProcessor;
import com.sun.mirror.apt.AnnotationProcessorEnvironment;
import com.sun.mirror.apt.AnnotationProcessorFactory;
import com.sun.mirror.util.DeclarationVisitor;

import com.sun.mirror.apt.*;
import com.sun.mirror.declaration.*;
import com.sun.mirror.util.*;
import static com.sun.mirror.util.DeclarationVisitor.*;

import java.util.Collection;
import java.util.Set;

public class TableCreationProcessFactory implements AnnotationProcessorFactory{
	
	
	
	public AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> arg0,
			AnnotationProcessorEnvironment arg1) {
		return null;
	}

	public Collection<String> supportedAnnotationTypes() {
		return null;
	}

	public Collection<String> supportedOptions() {
		return null;
	}

	private static class TableCreationProcess implements AnnotationProcessor{
		private final AnnotationProcessorEnvironment env;
		private String sql = "";
		public TableCreationProcess(AnnotationProcessorEnvironment env) {
			this.env = env;
		}
		
		public void process() {
			for(TypeDeclaration declaration : env.getSpecifiedTypeDeclarations()) {
//				declaration.accept(get);
			}
		}
	}
}
